package com.hpe.pojo;

import java.sql.Timestamp;

/**
 * Created by 李宇寒
 * 2017/9/22 0022 上午 12:08.
 */
public class Interviewentity {
    private int id;
    private Integer stuid;
    private Integer jobid;
    private Timestamp itime;
    private Integer state;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getStuid() {
        return stuid;
    }

    public void setStuid(Integer stuid) {
        this.stuid = stuid;
    }

    public Integer getJobid() {
        return jobid;
    }

    public void setJobid(Integer jobid) {
        this.jobid = jobid;
    }

    public Timestamp getItime() {
        return itime;
    }

    public void setItime(Timestamp itime) {
        this.itime = itime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Interviewentity that = (Interviewentity) o;

        if (id != that.id) return false;
        if (stuid != null ? !stuid.equals(that.stuid) : that.stuid != null) return false;
        if (jobid != null ? !jobid.equals(that.jobid) : that.jobid != null) return false;
        if (itime != null ? !itime.equals(that.itime) : that.itime != null) return false;
        if (state != null ? !state.equals(that.state) : that.state != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id;
        result = 31 * result + (stuid != null ? stuid.hashCode() : 0);
        result = 31 * result + (jobid != null ? jobid.hashCode() : 0);
        result = 31 * result + (itime != null ? itime.hashCode() : 0);
        result = 31 * result + (state != null ? state.hashCode() : 0);
        return result;
    }
}
